<!--{Atemplate tpl/header}-->

<style>
.-body{text-align:center;}
.main{margin:0 auto;width:100%;text-align:center;}
.main table{width:480px;margin:0 auto;text-align:left;}
</style>
<script>
	function find(){
		var idcard = jQuery('input[name="m"]').val();
		jQuery.ajax({
			url:'http://aban.nice9s.com/tool-idcard-get',
			dataType:"jsonp",
			jsonp:"jsonpcall",
			data:{'m':idcard},
			success:function(data){}
		});
		return false;
	}
	function jsonpcall(data){
		if(data.status==1){
			for(var i in data){
				if(jQuery('.idcard_'+i).length==1) jQuery('.idcard_'+i).html(data[i]);
			}
		}else{
			alert(data.msg);
		}
	}
</script>

	<h3>身份证归属地查询</h3>
	<form method="get" onsubmit="find();return false;">
	<div class="main">
	<table class="-table">
		<tr><td>身份证号码：</td><td><input type="text" name="m" size="18" value="$_GET[m]"/><input type="submit" value="查询"/></td></tr>
		<tr><td>归属省份：</td><td class="idcard_province"></td></tr>
		<tr><td>归属城市：</td><td class="idcard_city"></td></tr>
		<tr><td>校 验 码：</td><td class="idcard_city"></td></tr>
	</table>
	</div>
	</form>
	<div>
		<h2>查询历史</h2>
		<!--{loop $gzip_list $key $val}-->
		<a href="/tool/gzip/<!--{eval echo Afun_urlencode($val[url])}-->">$val[url]</a>
		<!--{/loop}-->
	</div>


<!--{Atemplate tpl/footer}-->